package dewu;

/**
 * 父子类中静态方法的重写
 *
 * @author Liu Yicong
 * @date 2025/9/20
 */
public class Child extends Parent {
	public static int add(int n) {
		return 5 * n;
	}

	public static void main(String[] args) {
		Parent pa = new Child();
		System.out.println(pa.add(5));
	}
}
